<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "user_info_user".
 *
 * @property int $user_id 用户ID,取user
 * @property int $is_verify 验证状态:1等待验证,2验证通过,3验证失败
 * @property string $verify_msg 验证信息
 * @property string $contact_name 姓名
 * @property string $contact_phone 电话
 *
 * @property User $user
 */
class UserInfoUser extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'user_info_user';
    }

    /**
     * Gets query for [[User]].
     *
     * @return \yii\db\ActiveQuery
     */
    public function getUser()
    {
        return $this->hasOne(User::className(), ['user_id' => 'user_id']);
    }
}
